<!DOCTYPE html>
<html class="writer-html5" lang="en" data-content_root="./">
<head>
  <meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />

  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>packs &mdash; Logtalk APIs v3.93.0-b01 documentation</title>
      <link rel="stylesheet" type="text/css" href="_static/pygments.css?v=d75fae25" />
      <link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=19f00094" />
      <link rel="stylesheet" type="text/css" href="_static/css/custom.css?v=0e9007aa" />

  
  <!--[if lt IE 9]>
    <script src="_static/js/html5shiv.min.js"></script>
  <![endif]-->
  
        <script src="_static/jquery.js?v=5d32c60e"></script>
        <script src="_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
        <script src="_static/documentation_options.js?v=c8100655"></script>
        <script src="_static/doctools.js?v=9a2dae69"></script>
        <script src="_static/sphinx_highlight.js?v=dc90522c"></script>
    <script src="_static/js/theme.js"></script>
    <!-- begin favicon -->
    <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
    <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
    <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
    <link rel="manifest" href="/site.webmanifest" />
    <link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5" />
    <meta name="msapplication-TileColor" content="#355b95" />
    <meta name="theme-color" content="#ffffff" />
    <!-- end favicon -->
    
    <link rel="index" title="Index" href="genindex.html" />
    <link rel="search" title="Search" href="search.html" />
    <link rel="next" title="packs_common" href="packs_common_0.html" />
    <link rel="prev" title="pack_protocol" href="pack_protocol_0.html" />
   
</head>

<body class="wy-body-for-nav"> 
  <div class="wy-grid-for-nav">
    <nav data-toggle="wy-nav-shift" class="wy-nav-side">
      <div class="wy-side-scroll">
        <div class="wy-side-nav-search" >

          
          
          <a href="index.html" class="icon icon-home">
            Logtalk APIs
              <img src="_static/logtalk.gif" class="logo" alt="Logo"/>
          </a>
              <div class="version">
                3.93.0
              </div>
<div role="search">
  <form id="rtd-search-form" class="wy-form" action="search.html" method="get">
    <input type="text" name="q" placeholder="Search docs" aria-label="Search docs" />
    <input type="hidden" name="check_keywords" value="yes" />
    <input type="hidden" name="area" value="default" />
  </form>
</div>
        </div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
    
              <p class="caption" role="heading"><span class="caption-text">Contents</span></p>
<ul class="current">
<li class="toctree-l1 current"><a class="reference internal" href="library_index.html">Libraries</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="library_index.html#arbitrary"><span class="xref std std-ref">arbitrary</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#assertions"><span class="xref std std-ref">assertions</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#assignvars"><span class="xref std std-ref">assignvars</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#base64"><span class="xref std std-ref">base64</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#cbor"><span class="xref std std-ref">cbor</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#code-metrics"><span class="xref std std-ref">code_metrics</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#core"><span class="xref std std-ref">core</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#coroutining"><span class="xref std std-ref">coroutining</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#csv"><span class="xref std std-ref">csv</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#dates"><span class="xref std std-ref">dates</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#dead-code-scanner"><span class="xref std std-ref">dead_code_scanner</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#debug-messages"><span class="xref std std-ref">debug_messages</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#debugger"><span class="xref std std-ref">debugger</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#dependents"><span class="xref std std-ref">dependents</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#diagrams"><span class="xref std std-ref">diagrams</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#dictionaries"><span class="xref std std-ref">dictionaries</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#dif"><span class="xref std std-ref">dif</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#doclet"><span class="xref std std-ref">doclet</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#edcg"><span class="xref std std-ref">edcg</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#events"><span class="xref std std-ref">events</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#expand-library-alias-paths"><span class="xref std std-ref">expand_library_alias_paths</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#expecteds"><span class="xref std std-ref">expecteds</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#fcube"><span class="xref std std-ref">fcube</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#flags"><span class="xref std std-ref">flags</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#format"><span class="xref std std-ref">format</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#genint"><span class="xref std std-ref">genint</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#gensym"><span class="xref std std-ref">gensym</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#git"><span class="xref std std-ref">git</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#grammars"><span class="xref std std-ref">grammars</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#heaps"><span class="xref std std-ref">heaps</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#help"><span class="xref std std-ref">help</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#hierarchies"><span class="xref std std-ref">hierarchies</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#hook-flows"><span class="xref std std-ref">hook_flows</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#hook-objects"><span class="xref std std-ref">hook_objects</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#html"><span class="xref std std-ref">html</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#ids"><span class="xref std std-ref">ids</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#intervals"><span class="xref std std-ref">intervals</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#iso8601"><span class="xref std std-ref">iso8601</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#issue-creator"><span class="xref std std-ref">issue_creator</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#java"><span class="xref std std-ref">java</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#json"><span class="xref std std-ref">json</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#json-lines"><span class="xref std std-ref">json_lines</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#lgtdoc"><span class="xref std std-ref">lgtdoc</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#lgtunit"><span class="xref std std-ref">lgtunit</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#library"><span class="xref std std-ref">library</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#listing"><span class="xref std std-ref">listing</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#logging"><span class="xref std std-ref">logging</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#loops"><span class="xref std std-ref">loops</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#meta"><span class="xref std std-ref">meta</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#meta-compiler"><span class="xref std std-ref">meta_compiler</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#metagol"><span class="xref std std-ref">metagol</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#mutations"><span class="xref std std-ref">mutations</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#nested-dictionaries"><span class="xref std std-ref">nested_dictionaries</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#optionals"><span class="xref std std-ref">optionals</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#options"><span class="xref std std-ref">options</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#os"><span class="xref std std-ref">os</span></a></li>
<li class="toctree-l2 current"><a class="reference internal" href="library_index.html#packs"><span class="xref std std-ref">packs</span></a><ul class="current">
<li class="toctree-l3"><a class="reference internal" href="pack_protocol_0.html">pack_protocol</a></li>
<li class="toctree-l3 current"><a class="current reference internal" href="#">packs</a></li>
<li class="toctree-l3"><a class="reference internal" href="packs_common_0.html">packs_common</a></li>
<li class="toctree-l3"><a class="reference internal" href="packs_messages_0.html">packs_messages</a></li>
<li class="toctree-l3"><a class="reference internal" href="packs_specs_hook_0.html">packs_specs_hook</a></li>
<li class="toctree-l3"><a class="reference internal" href="registries_0.html">registries</a></li>
<li class="toctree-l3"><a class="reference internal" href="registry_loader_hook_0.html">registry_loader_hook</a></li>
<li class="toctree-l3"><a class="reference internal" href="registry_protocol_0.html">registry_protocol</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#pddl-parser"><span class="xref std std-ref">pddl_parser</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#ports-profiler"><span class="xref std std-ref">ports_profiler</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#queues"><span class="xref std std-ref">queues</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#random"><span class="xref std std-ref">random</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#reader"><span class="xref std std-ref">reader</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#recorded-database"><span class="xref std std-ref">recorded_database</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#redis"><span class="xref std std-ref">redis</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#sets"><span class="xref std std-ref">sets</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#statistics"><span class="xref std std-ref">statistics</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#term-io"><span class="xref std std-ref">term_io</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#timeout"><span class="xref std std-ref">timeout</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#toychr"><span class="xref std std-ref">toychr</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#tsv"><span class="xref std std-ref">tsv</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#tutor"><span class="xref std std-ref">tutor</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#types"><span class="xref std std-ref">types</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#ulid"><span class="xref std std-ref">ulid</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#union-find"><span class="xref std std-ref">union_find</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#uuid"><span class="xref std std-ref">uuid</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#verdi-neruda"><span class="xref std std-ref">verdi_neruda</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#wrapper"><span class="xref std std-ref">wrapper</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#xml-parser"><span class="xref std std-ref">xml_parser</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="library_index.html#zippers"><span class="xref std std-ref">zippers</span></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="directory_index.html">Directories</a></li>
<li class="toctree-l1"><a class="reference internal" href="entity_index.html">Entities</a></li>
<li class="toctree-l1"><a class="reference internal" href="predicate_index.html">Predicates</a></li>
</ul>

    <ul>
    <li class="toctree-l1"><a class="reference internal" href="core_inheritance_diagram.svg">Core diagram</a></li>
    <li class="toctree-l1"><a class="reference internal" href="library_inheritance_diagram.svg">Libraries diagram</a></li>
    <li class="toctree-l1"><a class="reference internal" href="tools_inheritance_diagram.svg">Tools diagram</a></li>
    <li class="toctree-l1"><a class="reference internal" href="ports_inheritance_diagram.svg">Ports diagram</a></li>
    <li class="toctree-l1"><a class="reference internal" href="contributions_inheritance_diagram.svg">Contributions diagram</a></li>
    <li class="toctree-l1"><a class="reference internal" href="genindex.html">Index</a></li>
    </ul>
    <p class="caption"><span class="caption-text">External Contents</span></p>
    <ul>
    <li class="toctree-l1"><a class="reference internal" href="../handbook/index.html">Handbook</a></li>
    <li class="toctree-l1"><a class="reference internal" href="https://logtalk.org">Logtalk website</a></li>
    <li class="toctree-l1"><a class="reference internal" href="https://github.com/LogtalkDotOrg/logtalk3">GitHub repo</a></li>
    </ul>
  
        </div>
      </div>
    </nav>

    <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"><nav class="wy-nav-top" aria-label="Mobile navigation menu" >
          <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
          <a href="index.html">Logtalk APIs</a>
      </nav>

      <div class="wy-nav-content">
        <div class="rst-content">
          <div role="navigation" aria-label="Page navigation">
  <ul class="wy-breadcrumbs">
      <li><a href="index.html" class="icon icon-home" aria-label="Home"></a></li>
          <li class="breadcrumb-item"><a href="library_index.html">Libraries</a></li>
      <li class="breadcrumb-item active"><code class="docutils literal notranslate"><span class="pre">packs</span></code></li>
      <li class="wy-breadcrumbs-aside">
            <a href="_sources/packs_0.rst.txt" rel="nofollow"> View page source</a>
      </li>
  </ul>
  <hr/>
</div>
          <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
           <div itemprop="articleBody">
             
  <p class="right" id="packs-0"><span id="index-0"></span><strong>object</strong></p>
<section id="packs">
<h1><code class="docutils literal notranslate"><span class="pre">packs</span></code><a class="headerlink" href="#packs" title="Link to this heading"></a></h1>
<p>Pack handling predicates.</p>
<div class="line-block">
<div class="line"><strong>Availability:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">logtalk_load(packs(loader))</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Author:</strong> Paulo Moura</div>
<div class="line"><strong>Version:</strong> 0:87:0</div>
<div class="line"><strong>Date:</strong> 2025-05-23</div>
</div>
<div class="line-block">
<div class="line"><strong>Compilation flags:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">static,</span> <span class="pre">context_switching_calls</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Imports:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">public</span></code> <a class="reference internal" href="packs_common_0.html#packs-common-0"><span class="std std-ref">packs_common</span></a></div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">public</span></code> <a class="reference internal" href="options_0.html#options-0"><span class="std std-ref">options</span></a></div>
</div>
<div class="line"><strong>Uses:</strong></div>
<div class="line-block">
<div class="line"><a class="reference internal" href="list_0.html#list-0"><span class="std std-ref">list</span></a></div>
<div class="line"><a class="reference internal" href="logtalk_0.html#logtalk-0"><span class="std std-ref">logtalk</span></a></div>
<div class="line"><a class="reference internal" href="os_0.html#os-0"><span class="std std-ref">os</span></a></div>
<div class="line"><a class="reference internal" href="registries_0.html#registries-0"><span class="std std-ref">registries</span></a></div>
<div class="line"><a class="reference internal" href="type_0.html#type-0"><span class="std std-ref">type</span></a></div>
<div class="line"><a class="reference internal" href="user_0.html#user-0"><span class="std std-ref">user</span></a></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Remarks:</strong></div>
<div class="line-block">
<div class="line">(none)</div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Inherited public predicates:</strong></div>
<div class="line-block">
<div class="line"> <a class="reference internal" href="options_protocol_0.html#options-protocol-0-check-option-1"><span class="std std-ref">check_option/1</span></a>  <a class="reference internal" href="options_protocol_0.html#options-protocol-0-check-options-1"><span class="std std-ref">check_options/1</span></a>  <a class="reference internal" href="options_protocol_0.html#options-protocol-0-default-option-1"><span class="std std-ref">default_option/1</span></a>  <a class="reference internal" href="options_protocol_0.html#options-protocol-0-default-options-1"><span class="std std-ref">default_options/1</span></a>  <a class="reference internal" href="packs_common_0.html#packs-common-0-directory-1"><span class="std std-ref">directory/1</span></a>  <a class="reference internal" href="packs_common_0.html#packs-common-0-directory-2"><span class="std std-ref">directory/2</span></a>  <a class="reference internal" href="packs_common_0.html#packs-common-0-help-0"><span class="std std-ref">help/0</span></a>  <a class="reference internal" href="packs_common_0.html#packs-common-0-logtalk-packs-0"><span class="std std-ref">logtalk_packs/0</span></a>  <a class="reference internal" href="packs_common_0.html#packs-common-0-logtalk-packs-1"><span class="std std-ref">logtalk_packs/1</span></a>  <a class="reference internal" href="options_protocol_0.html#options-protocol-0-option-2"><span class="std std-ref">option/2</span></a>  <a class="reference internal" href="options_protocol_0.html#options-protocol-0-option-3"><span class="std std-ref">option/3</span></a>  <a class="reference internal" href="packs_common_0.html#packs-common-0-pin-0"><span class="std std-ref">pin/0</span></a>  <a class="reference internal" href="packs_common_0.html#packs-common-0-pin-1"><span class="std std-ref">pin/1</span></a>  <a class="reference internal" href="packs_common_0.html#packs-common-0-pinned-1"><span class="std std-ref">pinned/1</span></a>  <a class="reference internal" href="packs_common_0.html#packs-common-0-prefix-0"><span class="std std-ref">prefix/0</span></a>  <a class="reference internal" href="packs_common_0.html#packs-common-0-prefix-1"><span class="std std-ref">prefix/1</span></a>  <a class="reference internal" href="packs_common_0.html#packs-common-0-readme-1"><span class="std std-ref">readme/1</span></a>  <a class="reference internal" href="packs_common_0.html#packs-common-0-readme-2"><span class="std std-ref">readme/2</span></a>  <a class="reference internal" href="packs_common_0.html#packs-common-0-reset-0"><span class="std std-ref">reset/0</span></a>  <a class="reference internal" href="packs_common_0.html#packs-common-0-setup-0"><span class="std std-ref">setup/0</span></a>  <a class="reference internal" href="packs_common_0.html#packs-common-0-unpin-0"><span class="std std-ref">unpin/0</span></a>  <a class="reference internal" href="packs_common_0.html#packs-common-0-unpin-1"><span class="std std-ref">unpin/1</span></a>  <a class="reference internal" href="options_protocol_0.html#options-protocol-0-valid-option-1"><span class="std std-ref">valid_option/1</span></a>  <a class="reference internal" href="options_protocol_0.html#options-protocol-0-valid-options-1"><span class="std std-ref">valid_options/1</span></a>  <a class="reference internal" href="packs_common_0.html#packs-common-0-verify-commands-availability-0"><span class="std std-ref">verify_commands_availability/0</span></a></div>
</div>
</div>
<nav class="contents local" id="contents">
<ul class="simple">
<li><p><a class="reference internal" href="#public-predicates" id="id1">Public predicates</a></p>
<ul>
<li><p><a class="reference internal" href="#available-2" id="id2"><code class="docutils literal notranslate"><span class="pre">available/2</span></code></a></p></li>
<li><p><a class="reference internal" href="#available-1" id="id3"><code class="docutils literal notranslate"><span class="pre">available/1</span></code></a></p></li>
<li><p><a class="reference internal" href="#available-0" id="id4"><code class="docutils literal notranslate"><span class="pre">available/0</span></code></a></p></li>
<li><p><a class="reference internal" href="#installed-4" id="id5"><code class="docutils literal notranslate"><span class="pre">installed/4</span></code></a></p></li>
<li><p><a class="reference internal" href="#installed-3" id="id6"><code class="docutils literal notranslate"><span class="pre">installed/3</span></code></a></p></li>
<li><p><a class="reference internal" href="#installed-1" id="id7"><code class="docutils literal notranslate"><span class="pre">installed/1</span></code></a></p></li>
<li><p><a class="reference internal" href="#installed-0" id="id8"><code class="docutils literal notranslate"><span class="pre">installed/0</span></code></a></p></li>
<li><p><a class="reference internal" href="#outdated-5" id="id9"><code class="docutils literal notranslate"><span class="pre">outdated/5</span></code></a></p></li>
<li><p><a class="reference internal" href="#outdated-4" id="id10"><code class="docutils literal notranslate"><span class="pre">outdated/4</span></code></a></p></li>
<li><p><a class="reference internal" href="#outdated-2" id="id11"><code class="docutils literal notranslate"><span class="pre">outdated/2</span></code></a></p></li>
<li><p><a class="reference internal" href="#outdated-1" id="id12"><code class="docutils literal notranslate"><span class="pre">outdated/1</span></code></a></p></li>
<li><p><a class="reference internal" href="#outdated-0" id="id13"><code class="docutils literal notranslate"><span class="pre">outdated/0</span></code></a></p></li>
<li><p><a class="reference internal" href="#orphaned-2" id="id14"><code class="docutils literal notranslate"><span class="pre">orphaned/2</span></code></a></p></li>
<li><p><a class="reference internal" href="#orphaned-0" id="id15"><code class="docutils literal notranslate"><span class="pre">orphaned/0</span></code></a></p></li>
<li><p><a class="reference internal" href="#versions-3" id="id16"><code class="docutils literal notranslate"><span class="pre">versions/3</span></code></a></p></li>
<li><p><a class="reference internal" href="#describe-2" id="id17"><code class="docutils literal notranslate"><span class="pre">describe/2</span></code></a></p></li>
<li><p><a class="reference internal" href="#describe-1" id="id18"><code class="docutils literal notranslate"><span class="pre">describe/1</span></code></a></p></li>
<li><p><a class="reference internal" href="#search-1" id="id19"><code class="docutils literal notranslate"><span class="pre">search/1</span></code></a></p></li>
<li><p><a class="reference internal" href="#install-4" id="id20"><code class="docutils literal notranslate"><span class="pre">install/4</span></code></a></p></li>
<li><p><a class="reference internal" href="#install-3" id="id21"><code class="docutils literal notranslate"><span class="pre">install/3</span></code></a></p></li>
<li><p><a class="reference internal" href="#install-2" id="id22"><code class="docutils literal notranslate"><span class="pre">install/2</span></code></a></p></li>
<li><p><a class="reference internal" href="#install-1" id="id23"><code class="docutils literal notranslate"><span class="pre">install/1</span></code></a></p></li>
<li><p><a class="reference internal" href="#update-3" id="id24"><code class="docutils literal notranslate"><span class="pre">update/3</span></code></a></p></li>
<li><p><a class="reference internal" href="#update-2" id="id25"><code class="docutils literal notranslate"><span class="pre">update/2</span></code></a></p></li>
<li><p><a class="reference internal" href="#update-1" id="id26"><code class="docutils literal notranslate"><span class="pre">update/1</span></code></a></p></li>
<li><p><a class="reference internal" href="#update-0" id="id27"><code class="docutils literal notranslate"><span class="pre">update/0</span></code></a></p></li>
<li><p><a class="reference internal" href="#uninstall-2" id="id28"><code class="docutils literal notranslate"><span class="pre">uninstall/2</span></code></a></p></li>
<li><p><a class="reference internal" href="#uninstall-1" id="id29"><code class="docutils literal notranslate"><span class="pre">uninstall/1</span></code></a></p></li>
<li><p><a class="reference internal" href="#uninstall-0" id="id30"><code class="docutils literal notranslate"><span class="pre">uninstall/0</span></code></a></p></li>
<li><p><a class="reference internal" href="#clean-2" id="id31"><code class="docutils literal notranslate"><span class="pre">clean/2</span></code></a></p></li>
<li><p><a class="reference internal" href="#clean-1" id="id32"><code class="docutils literal notranslate"><span class="pre">clean/1</span></code></a></p></li>
<li><p><a class="reference internal" href="#clean-0" id="id33"><code class="docutils literal notranslate"><span class="pre">clean/0</span></code></a></p></li>
<li><p><a class="reference internal" href="#save-2" id="id34"><code class="docutils literal notranslate"><span class="pre">save/2</span></code></a></p></li>
<li><p><a class="reference internal" href="#save-1" id="id35"><code class="docutils literal notranslate"><span class="pre">save/1</span></code></a></p></li>
<li><p><a class="reference internal" href="#restore-2" id="id36"><code class="docutils literal notranslate"><span class="pre">restore/2</span></code></a></p></li>
<li><p><a class="reference internal" href="#restore-1" id="id37"><code class="docutils literal notranslate"><span class="pre">restore/1</span></code></a></p></li>
<li><p><a class="reference internal" href="#dependents-3" id="id38"><code class="docutils literal notranslate"><span class="pre">dependents/3</span></code></a></p></li>
<li><p><a class="reference internal" href="#dependents-2" id="id39"><code class="docutils literal notranslate"><span class="pre">dependents/2</span></code></a></p></li>
<li><p><a class="reference internal" href="#dependents-1" id="id40"><code class="docutils literal notranslate"><span class="pre">dependents/1</span></code></a></p></li>
<li><p><a class="reference internal" href="#lint-2" id="id41"><code class="docutils literal notranslate"><span class="pre">lint/2</span></code></a></p></li>
<li><p><a class="reference internal" href="#lint-1" id="id42"><code class="docutils literal notranslate"><span class="pre">lint/1</span></code></a></p></li>
<li><p><a class="reference internal" href="#lint-0" id="id43"><code class="docutils literal notranslate"><span class="pre">lint/0</span></code></a></p></li>
</ul>
</li>
<li><p><a class="reference internal" href="#protected-predicates" id="id44">Protected predicates</a></p></li>
<li><p><a class="reference internal" href="#private-predicates" id="id45">Private predicates</a></p></li>
<li><p><a class="reference internal" href="#operators" id="id46">Operators</a></p></li>
</ul>
</nav>
<section id="public-predicates">
<h2><a class="toc-backref" href="#contents" role="doc-backlink">Public predicates</a><a class="headerlink" href="#public-predicates" title="Link to this heading"></a></h2>
<section id="available-2">
<span id="packs-0-available-2"></span><span id="index-1"></span><h3><a class="toc-backref" href="#contents" role="doc-backlink"><code class="docutils literal notranslate"><span class="pre">available/2</span></code></a><a class="headerlink" href="#available-2" title="Link to this heading"></a></h3>
<p>Enumerates, by backtracking, all available packs.</p>
<div class="line-block">
<div class="line"><strong>Compilation flags:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">static</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Template:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">available(Registry,Pack)</span></code></div>
</div>
<div class="line"><strong>Mode and number of proofs:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">available(?atom,?atom)</span></code> - <code class="docutils literal notranslate"><span class="pre">zero_or_more</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Exceptions:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">Registry</span></code> is neither a variable nor an atom:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(atom,Registry)</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Pack</span></code> is neither a variable nor an atom:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(atom,Pack)</span></code></div>
</div>
</div>
</div>
<hr class="docutils" />
</section>
<section id="available-1">
<span id="packs-0-available-1"></span><span id="index-2"></span><h3><a class="toc-backref" href="#contents" role="doc-backlink"><code class="docutils literal notranslate"><span class="pre">available/1</span></code></a><a class="headerlink" href="#available-1" title="Link to this heading"></a></h3>
<p>Lists all the packs that are available for installation from the given registry.</p>
<div class="line-block">
<div class="line"><strong>Compilation flags:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">static</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Template:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">available(Registry)</span></code></div>
</div>
<div class="line"><strong>Mode and number of proofs:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">available(+atom)</span></code> - <code class="docutils literal notranslate"><span class="pre">one</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Exceptions:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">Registry</span></code> is a variable:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">instantiation_error</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Registry</span></code> is neither a variable nor an atom:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(atom,Registry)</span></code></div>
</div>
</div>
</div>
<hr class="docutils" />
</section>
<section id="available-0">
<span id="packs-0-available-0"></span><span id="index-3"></span><h3><a class="toc-backref" href="#contents" role="doc-backlink"><code class="docutils literal notranslate"><span class="pre">available/0</span></code></a><a class="headerlink" href="#available-0" title="Link to this heading"></a></h3>
<p>Lists all the packs that are available for installation from all defined registries.</p>
<div class="line-block">
<div class="line"><strong>Compilation flags:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">static</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Mode and number of proofs:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">available</span></code> - <code class="docutils literal notranslate"><span class="pre">one</span></code></div>
</div>
</div>
<hr class="docutils" />
</section>
<section id="installed-4">
<span id="packs-0-installed-4"></span><span id="index-4"></span><h3><a class="toc-backref" href="#contents" role="doc-backlink"><code class="docutils literal notranslate"><span class="pre">installed/4</span></code></a><a class="headerlink" href="#installed-4" title="Link to this heading"></a></h3>
<p>Enumerates by backtracking all installed packs.</p>
<div class="line-block">
<div class="line"><strong>Compilation flags:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">static</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Template:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">installed(Registry,Pack,Version,Pinned)</span></code></div>
</div>
<div class="line"><strong>Mode and number of proofs:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">installed(?atom,?atom,?compound,?boolean)</span></code> - <code class="docutils literal notranslate"><span class="pre">zero_or_more</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Exceptions:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">Registry</span></code> is neither a variable nor an atom:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(atom,Registry)</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Pack</span></code> is neither a variable nor an atom:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(atom,Pack)</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Version</span></code> is neither a variable nor a compound term:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(compound,Version)</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Pinned</span></code> is neither a variable nor a boolean:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(boolean,Pinned)</span></code></div>
</div>
</div>
</div>
<hr class="docutils" />
</section>
<section id="installed-3">
<span id="packs-0-installed-3"></span><span id="index-5"></span><h3><a class="toc-backref" href="#contents" role="doc-backlink"><code class="docutils literal notranslate"><span class="pre">installed/3</span></code></a><a class="headerlink" href="#installed-3" title="Link to this heading"></a></h3>
<p>Enumerates by backtracking all installed packs.</p>
<div class="line-block">
<div class="line"><strong>Compilation flags:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">static</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Template:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">installed(Registry,Pack,Version)</span></code></div>
</div>
<div class="line"><strong>Mode and number of proofs:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">installed(?atom,?atom,?compound)</span></code> - <code class="docutils literal notranslate"><span class="pre">zero_or_more</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Exceptions:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">Registry</span></code> is neither a variable nor an atom:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(atom,Registry)</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Pack</span></code> is neither a variable nor an atom:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(atom,Pack)</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Version</span></code> is neither a variable nor a compound term:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(compound,Version)</span></code></div>
</div>
</div>
</div>
<hr class="docutils" />
</section>
<section id="installed-1">
<span id="packs-0-installed-1"></span><span id="index-6"></span><h3><a class="toc-backref" href="#contents" role="doc-backlink"><code class="docutils literal notranslate"><span class="pre">installed/1</span></code></a><a class="headerlink" href="#installed-1" title="Link to this heading"></a></h3>
<p>Lists all the packs that are installed from the given registry. Fails if the registry is unknown.</p>
<div class="line-block">
<div class="line"><strong>Compilation flags:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">static</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Template:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">installed(Registry)</span></code></div>
</div>
<div class="line"><strong>Mode and number of proofs:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">installed(+atom)</span></code> - <code class="docutils literal notranslate"><span class="pre">zero_or_one</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Exceptions:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">Registry</span></code> is a variable:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">instantiation_error</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Registry</span></code> is neither a variable nor an atom:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(atom,Registry)</span></code></div>
</div>
</div>
</div>
<hr class="docutils" />
</section>
<section id="installed-0">
<span id="packs-0-installed-0"></span><span id="index-7"></span><h3><a class="toc-backref" href="#contents" role="doc-backlink"><code class="docutils literal notranslate"><span class="pre">installed/0</span></code></a><a class="headerlink" href="#installed-0" title="Link to this heading"></a></h3>
<p>Lists all the packs that are installed.</p>
<div class="line-block">
<div class="line"><strong>Compilation flags:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">static</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Mode and number of proofs:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">installed</span></code> - <code class="docutils literal notranslate"><span class="pre">one</span></code></div>
</div>
</div>
<hr class="docutils" />
</section>
<section id="outdated-5">
<span id="packs-0-outdated-5"></span><span id="index-8"></span><h3><a class="toc-backref" href="#contents" role="doc-backlink"><code class="docutils literal notranslate"><span class="pre">outdated/5</span></code></a><a class="headerlink" href="#outdated-5" title="Link to this heading"></a></h3>
<p>Enumerates by backtracking all installed but outdated packs (together with the current version installed and the latest version available) using the given options.</p>
<div class="line-block">
<div class="line"><strong>Compilation flags:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">static</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Template:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">outdated(Registry,Pack,Version,LatestVersion,Options)</span></code></div>
</div>
<div class="line"><strong>Mode and number of proofs:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">outdated(?atom,?atom,?compound,?compound,++list(compound))</span></code> - <code class="docutils literal notranslate"><span class="pre">zero_or_more</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Exceptions:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">Registry</span></code> is neither a variable nor an atom:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(atom,Registry)</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Pack</span></code> is neither a variable nor an atom:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(atom,Pack)</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Version</span></code> is neither a variable nor a compound term:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(compound,Version)</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">LatestVersion</span></code> is neither a variable nor a compound term:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(compound,LatestVersion)</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Options</span></code> is a variable:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">instantiation_error</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Options</span></code> is neither a variable nor a list:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(list,Options)</span></code></div>
</div>
<div class="line">An element <code class="docutils literal notranslate"><span class="pre">Option</span></code> of the list <code class="docutils literal notranslate"><span class="pre">Options</span></code> is a variable:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">instantiation_error</span></code></div>
</div>
<div class="line">An element <code class="docutils literal notranslate"><span class="pre">Option</span></code> of the list <code class="docutils literal notranslate"><span class="pre">Options</span></code> is neither a variable nor a compound term:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(compound,Option)</span></code></div>
</div>
<div class="line">An element <code class="docutils literal notranslate"><span class="pre">Option</span></code> of the list <code class="docutils literal notranslate"><span class="pre">Options</span></code> is a compound term but not a valid option:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">domain_error(option,Option)</span></code></div>
</div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Remarks:</strong></div>
</div>
<blockquote>
<div><ul class="simple">
<li><p><code class="docutils literal notranslate"><span class="pre">compatible(Boolean)</span></code> option: Restrict listing to compatible packs. Default is <code class="docutils literal notranslate"><span class="pre">true</span></code>.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">status(Status)</span></code> option: Restrict listing to updates with the given status. Default is <code class="docutils literal notranslate"><span class="pre">[stable,rc,beta,alpha]</span></code>. Set to <code class="docutils literal notranslate"><span class="pre">all</span></code> to also list <code class="docutils literal notranslate"><span class="pre">experimental</span></code> and <code class="docutils literal notranslate"><span class="pre">deprecated</span></code> updates.</p></li>
</ul>
</div></blockquote>
<hr class="docutils" />
</section>
<section id="outdated-4">
<span id="packs-0-outdated-4"></span><span id="index-9"></span><h3><a class="toc-backref" href="#contents" role="doc-backlink"><code class="docutils literal notranslate"><span class="pre">outdated/4</span></code></a><a class="headerlink" href="#outdated-4" title="Link to this heading"></a></h3>
<p>Enumerates by backtracking all installed but outdated packs (together with the current version installed and the latest version available) using default options.</p>
<div class="line-block">
<div class="line"><strong>Compilation flags:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">static</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Template:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">outdated(Registry,Pack,Version,LatestVersion)</span></code></div>
</div>
<div class="line"><strong>Mode and number of proofs:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">outdated(?atom,?atom,?compound,?compound)</span></code> - <code class="docutils literal notranslate"><span class="pre">zero_or_more</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Exceptions:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">Registry</span></code> is neither a variable nor an atom:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(atom,Registry)</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Pack</span></code> is neither a variable nor an atom:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(atom,Pack)</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Version</span></code> is neither a variable nor a compound term:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(compound,Version)</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">LatestVersion</span></code> is neither a variable nor a compound term:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(compound,LatestVersion)</span></code></div>
</div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>See also:</strong></div>
<div class="line-block">
<div class="line"><a class="reference internal" href="#packs-0-outdated-5"><span class="std std-ref">outdated/5</span></a></div>
</div>
</div>
<hr class="docutils" />
</section>
<section id="outdated-2">
<span id="packs-0-outdated-2"></span><span id="index-10"></span><h3><a class="toc-backref" href="#contents" role="doc-backlink"><code class="docutils literal notranslate"><span class="pre">outdated/2</span></code></a><a class="headerlink" href="#outdated-2" title="Link to this heading"></a></h3>
<p>Lists all the packs from the given registry that are installed but outdated using the given options.</p>
<div class="line-block">
<div class="line"><strong>Compilation flags:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">static</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Template:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">outdated(Registry,Options)</span></code></div>
</div>
<div class="line"><strong>Mode and number of proofs:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">outdated(+atom,++list(compound))</span></code> - <code class="docutils literal notranslate"><span class="pre">one</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Exceptions:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">Registry</span></code> is neither a variable nor an atom:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(atom,Registry)</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Options</span></code> is a variable:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">instantiation_error</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Options</span></code> is neither a variable nor a list:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(list,Options)</span></code></div>
</div>
<div class="line">An element <code class="docutils literal notranslate"><span class="pre">Option</span></code> of the list <code class="docutils literal notranslate"><span class="pre">Options</span></code> is a variable:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">instantiation_error</span></code></div>
</div>
<div class="line">An element <code class="docutils literal notranslate"><span class="pre">Option</span></code> of the list <code class="docutils literal notranslate"><span class="pre">Options</span></code> is neither a variable nor a compound term:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(compound,Option)</span></code></div>
</div>
<div class="line">An element <code class="docutils literal notranslate"><span class="pre">Option</span></code> of the list <code class="docutils literal notranslate"><span class="pre">Options</span></code> is a compound term but not a valid option:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">domain_error(option,Option)</span></code></div>
</div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Remarks:</strong></div>
</div>
<blockquote>
<div><ul class="simple">
<li><p><code class="docutils literal notranslate"><span class="pre">compatible(Boolean)</span></code> option: Restrict installation to compatible packs. Default is <code class="docutils literal notranslate"><span class="pre">true</span></code>.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">status(Status)</span></code> option: Restrict listing to updates with the given status. Default is <code class="docutils literal notranslate"><span class="pre">[stable,rc,beta,alpha]</span></code>. Set to <code class="docutils literal notranslate"><span class="pre">all</span></code> to also list <code class="docutils literal notranslate"><span class="pre">experimental</span></code> and <code class="docutils literal notranslate"><span class="pre">deprecated</span></code> updates.</p></li>
</ul>
</div></blockquote>
<hr class="docutils" />
</section>
<section id="outdated-1">
<span id="packs-0-outdated-1"></span><span id="index-11"></span><h3><a class="toc-backref" href="#contents" role="doc-backlink"><code class="docutils literal notranslate"><span class="pre">outdated/1</span></code></a><a class="headerlink" href="#outdated-1" title="Link to this heading"></a></h3>
<p>Lists all the packs from the given registry that are installed but outdated using default options.</p>
<div class="line-block">
<div class="line"><strong>Compilation flags:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">static</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Template:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">outdated(Registry)</span></code></div>
</div>
<div class="line"><strong>Mode and number of proofs:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">outdated(+atom)</span></code> - <code class="docutils literal notranslate"><span class="pre">one</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Exceptions:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">Registry</span></code> is neither a variable nor an atom:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(atom,Registry)</span></code></div>
</div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>See also:</strong></div>
<div class="line-block">
<div class="line"><a class="reference internal" href="#packs-0-outdated-2"><span class="std std-ref">outdated/2</span></a></div>
</div>
</div>
<hr class="docutils" />
</section>
<section id="outdated-0">
<span id="packs-0-outdated-0"></span><span id="index-12"></span><h3><a class="toc-backref" href="#contents" role="doc-backlink"><code class="docutils literal notranslate"><span class="pre">outdated/0</span></code></a><a class="headerlink" href="#outdated-0" title="Link to this heading"></a></h3>
<p>Lists all the packs that are installed but outdated using default options.</p>
<div class="line-block">
<div class="line"><strong>Compilation flags:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">static</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Mode and number of proofs:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">outdated</span></code> - <code class="docutils literal notranslate"><span class="pre">one</span></code></div>
</div>
</div>
<hr class="docutils" />
</section>
<section id="orphaned-2">
<span id="packs-0-orphaned-2"></span><span id="index-13"></span><h3><a class="toc-backref" href="#contents" role="doc-backlink"><code class="docutils literal notranslate"><span class="pre">orphaned/2</span></code></a><a class="headerlink" href="#orphaned-2" title="Link to this heading"></a></h3>
<p>Lists all the packs that are installed but whose registry is no longer defined.</p>
<div class="line-block">
<div class="line"><strong>Compilation flags:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">static</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Template:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">orphaned(Registry,Pack)</span></code></div>
</div>
<div class="line"><strong>Mode and number of proofs:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">orphaned(?atom,?atom)</span></code> - <code class="docutils literal notranslate"><span class="pre">zero_or_more</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Exceptions:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">Registry</span></code> is neither a variable nor an atom:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(atom,Registry)</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Pack</span></code> is neither a variable nor an atom:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(atom,Pack)</span></code></div>
</div>
</div>
</div>
<hr class="docutils" />
</section>
<section id="orphaned-0">
<span id="packs-0-orphaned-0"></span><span id="index-14"></span><h3><a class="toc-backref" href="#contents" role="doc-backlink"><code class="docutils literal notranslate"><span class="pre">orphaned/0</span></code></a><a class="headerlink" href="#orphaned-0" title="Link to this heading"></a></h3>
<p>Lists all the packs that are installed but whose registry is no longer defined.</p>
<div class="line-block">
<div class="line"><strong>Compilation flags:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">static</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Mode and number of proofs:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">orphaned</span></code> - <code class="docutils literal notranslate"><span class="pre">one</span></code></div>
</div>
</div>
<hr class="docutils" />
</section>
<section id="versions-3">
<span id="packs-0-versions-3"></span><span id="index-15"></span><h3><a class="toc-backref" href="#contents" role="doc-backlink"><code class="docutils literal notranslate"><span class="pre">versions/3</span></code></a><a class="headerlink" href="#versions-3" title="Link to this heading"></a></h3>
<p>Returns a list of all available pack versions. Fails if the pack is unknown.</p>
<div class="line-block">
<div class="line"><strong>Compilation flags:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">static</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Template:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">versions(Registry,Pack,Versions)</span></code></div>
</div>
<div class="line"><strong>Mode and number of proofs:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">versions(+atom,+atom,-list)</span></code> - <code class="docutils literal notranslate"><span class="pre">zero_or_one</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Exceptions:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">Registry</span></code> is a variable:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">instantiation_error</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Registry</span></code> is neither a variable nor an atom:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(atom,Registry)</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Pack</span></code> is a variable:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">instantiation_error</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Pack</span></code> is neither a variable nor an atom:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(atom,Pack)</span></code></div>
</div>
</div>
</div>
<hr class="docutils" />
</section>
<section id="describe-2">
<span id="packs-0-describe-2"></span><span id="index-16"></span><h3><a class="toc-backref" href="#contents" role="doc-backlink"><code class="docutils literal notranslate"><span class="pre">describe/2</span></code></a><a class="headerlink" href="#describe-2" title="Link to this heading"></a></h3>
<p>Describes a registered pack, including installed version if applicable. Fails if the pack is unknown.</p>
<div class="line-block">
<div class="line"><strong>Compilation flags:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">static</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Template:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">describe(Registry,Pack)</span></code></div>
</div>
<div class="line"><strong>Mode and number of proofs:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">describe(+atom,+atom)</span></code> - <code class="docutils literal notranslate"><span class="pre">zero_or_one</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Exceptions:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">Registry</span></code> is a variable:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">instantiation_error</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Registry</span></code> is neither a variable nor an atom:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(atom,Registry)</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Pack</span></code> is a variable:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">instantiation_error</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Pack</span></code> is neither a variable nor an atom:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(atom,Pack)</span></code></div>
</div>
</div>
</div>
<hr class="docutils" />
</section>
<section id="describe-1">
<span id="packs-0-describe-1"></span><span id="index-17"></span><h3><a class="toc-backref" href="#contents" role="doc-backlink"><code class="docutils literal notranslate"><span class="pre">describe/1</span></code></a><a class="headerlink" href="#describe-1" title="Link to this heading"></a></h3>
<p>Describes a registered pack, including installed version if applicable. Fails if the pack is unknown.</p>
<div class="line-block">
<div class="line"><strong>Compilation flags:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">static</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Template:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">describe(Pack)</span></code></div>
</div>
<div class="line"><strong>Mode and number of proofs:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">describe(+atom)</span></code> - <code class="docutils literal notranslate"><span class="pre">zero_or_one</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Exceptions:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">Pack</span></code> is a variable:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">instantiation_error</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Pack</span></code> is neither a variable nor an atom:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(atom,Pack)</span></code></div>
</div>
</div>
</div>
<hr class="docutils" />
</section>
<section id="search-1">
<span id="packs-0-search-1"></span><span id="index-18"></span><h3><a class="toc-backref" href="#contents" role="doc-backlink"><code class="docutils literal notranslate"><span class="pre">search/1</span></code></a><a class="headerlink" href="#search-1" title="Link to this heading"></a></h3>
<p>Searches packs whose name or description includes the search term (case sensitive).</p>
<div class="line-block">
<div class="line"><strong>Compilation flags:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">static</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Template:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">search(Term)</span></code></div>
</div>
<div class="line"><strong>Mode and number of proofs:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">search(+atom)</span></code> - <code class="docutils literal notranslate"><span class="pre">one</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Exceptions:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">Term</span></code> is a variable:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">instantiation_error</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Term</span></code> is neither a variable nor an atom:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(atom,Term)</span></code></div>
</div>
</div>
</div>
<hr class="docutils" />
</section>
<section id="install-4">
<span id="packs-0-install-4"></span><span id="index-19"></span><h3><a class="toc-backref" href="#contents" role="doc-backlink"><code class="docutils literal notranslate"><span class="pre">install/4</span></code></a><a class="headerlink" href="#install-4" title="Link to this heading"></a></h3>
<p>Installs a new pack using the specified options. Fails if the pack is unknown or already installed but not using <code class="docutils literal notranslate"><span class="pre">update(true)</span></code> or <code class="docutils literal notranslate"><span class="pre">force(true)</span></code> options. Fails also if the pack version is unknown.</p>
<div class="line-block">
<div class="line"><strong>Compilation flags:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">static</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Template:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">install(Registry,Pack,Version,Options)</span></code></div>
</div>
<div class="line"><strong>Mode and number of proofs:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">install(+atom,+atom,++compound,++list(compound))</span></code> - <code class="docutils literal notranslate"><span class="pre">zero_or_one</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Exceptions:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">Registry</span></code> is a variable:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">instantiation_error</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Registry</span></code> is neither a variable nor an atom:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(atom,Registry)</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Pack</span></code> is a variable:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">instantiation_error</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Pack</span></code> is neither a variable nor an atom:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(atom,Pack)</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Version</span></code> is a variable:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">instantiation_error</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Version</span></code> is neither a variable nor a valid version:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(pack_version,Version)</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Options</span></code> is a variable:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">instantiation_error</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Options</span></code> is neither a variable nor a list:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(list,Options)</span></code></div>
</div>
<div class="line">An element <code class="docutils literal notranslate"><span class="pre">Option</span></code> of the list <code class="docutils literal notranslate"><span class="pre">Options</span></code> is a variable:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">instantiation_error</span></code></div>
</div>
<div class="line">An element <code class="docutils literal notranslate"><span class="pre">Option</span></code> of the list <code class="docutils literal notranslate"><span class="pre">Options</span></code> is neither a variable nor a compound term:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(compound,Option)</span></code></div>
</div>
<div class="line">An element <code class="docutils literal notranslate"><span class="pre">Option</span></code> of the list <code class="docutils literal notranslate"><span class="pre">Options</span></code> is a compound term but not a valid option:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">domain_error(option,Option)</span></code></div>
</div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Remarks:</strong></div>
</div>
<blockquote>
<div><ul class="simple">
<li><p><code class="docutils literal notranslate"><span class="pre">update(Boolean)</span></code> option: Update pack if already installed. Default is <code class="docutils literal notranslate"><span class="pre">false</span></code>. Overrides the <code class="docutils literal notranslate"><span class="pre">force/1</span></code> option.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">force(Boolean)</span></code> option: Force pack re-installation if already installed. Default is <code class="docutils literal notranslate"><span class="pre">false</span></code>.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">compatible(Boolean)</span></code> option: Restrict installation to compatible packs. Default is <code class="docutils literal notranslate"><span class="pre">true</span></code>.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">clean(Boolean)</span></code> option: Clean pack archive after installation. Default is <code class="docutils literal notranslate"><span class="pre">false</span></code>.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">verbose(Boolean)</span></code> option: Verbose installing steps. Default is <code class="docutils literal notranslate"><span class="pre">false</span></code>.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">checksum(Boolean)</span></code> option: Verify pack archive checksum. Default is <code class="docutils literal notranslate"><span class="pre">true</span></code>.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">checksig(Boolean)</span></code> option: Verify pack archive signature. Default is <code class="docutils literal notranslate"><span class="pre">false</span></code>.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">git(Atom)</span></code> option: Extra command-line options. Default is <code class="docutils literal notranslate"><span class="pre">''</span></code>.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">downloader(Atom)</span></code> option: Downloader utility. Either <code class="docutils literal notranslate"><span class="pre">curl</span></code> or <code class="docutils literal notranslate"><span class="pre">wget</span></code>. Default is <code class="docutils literal notranslate"><span class="pre">curl</span></code>.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">curl(Atom)</span></code> option: Extra command-line options. Default is <code class="docutils literal notranslate"><span class="pre">''</span></code>.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">wget(Atom)</span></code> option: Extra command-line options. Default is <code class="docutils literal notranslate"><span class="pre">''</span></code>.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">gpg(Atom)</span></code> option: Extra command-line options. Default is <code class="docutils literal notranslate"><span class="pre">''</span></code>.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">tar(Atom)</span></code> option: Extra command-line options. Default is <code class="docutils literal notranslate"><span class="pre">''</span></code>.</p></li>
</ul>
</div></blockquote>
<hr class="docutils" />
</section>
<section id="install-3">
<span id="packs-0-install-3"></span><span id="index-20"></span><h3><a class="toc-backref" href="#contents" role="doc-backlink"><code class="docutils literal notranslate"><span class="pre">install/3</span></code></a><a class="headerlink" href="#install-3" title="Link to this heading"></a></h3>
<p>Installs the specified version of a pack from the given registry using default options. Fails if the pack is already installed or unknown. Fails also if the pack version is unknown.</p>
<div class="line-block">
<div class="line"><strong>Compilation flags:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">static</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Template:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">install(Registry,Pack,Version)</span></code></div>
</div>
<div class="line"><strong>Mode and number of proofs:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">install(+atom,+atom,?compound)</span></code> - <code class="docutils literal notranslate"><span class="pre">zero_or_one</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Exceptions:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">Registry</span></code> is a variable:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">instantiation_error</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Registry</span></code> is neither a variable nor an atom:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(atom,Registry)</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Pack</span></code> is a variable:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">instantiation_error</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Pack</span></code> is neither a variable nor an atom:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(atom,Pack)</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Version</span></code> is a variable:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">instantiation_error</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Version</span></code> is neither a variable nor a valid version:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(pack_version,Version)</span></code></div>
</div>
</div>
</div>
<hr class="docutils" />
</section>
<section id="install-2">
<span id="packs-0-install-2"></span><span id="index-21"></span><h3><a class="toc-backref" href="#contents" role="doc-backlink"><code class="docutils literal notranslate"><span class="pre">install/2</span></code></a><a class="headerlink" href="#install-2" title="Link to this heading"></a></h3>
<p>Installs the latest version of a pack from the given registry using default options. Fails if the pack is already installed or unknown.</p>
<div class="line-block">
<div class="line"><strong>Compilation flags:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">static</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Template:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">install(Registry,Pack)</span></code></div>
</div>
<div class="line"><strong>Mode and number of proofs:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">install(+atom,+atom)</span></code> - <code class="docutils literal notranslate"><span class="pre">zero_or_one</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Exceptions:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">Registry</span></code> is a variable:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">instantiation_error</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Registry</span></code> is neither a variable nor an atom:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(atom,Registry)</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Pack</span></code> is a variable:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">instantiation_error</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Pack</span></code> is neither a variable nor an atom:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(atom,Pack)</span></code></div>
</div>
</div>
</div>
<hr class="docutils" />
</section>
<section id="install-1">
<span id="packs-0-install-1"></span><span id="index-22"></span><h3><a class="toc-backref" href="#contents" role="doc-backlink"><code class="docutils literal notranslate"><span class="pre">install/1</span></code></a><a class="headerlink" href="#install-1" title="Link to this heading"></a></h3>
<p>Installs a pack (if its name is unique among all registries) using default options. Fails if the pack is already installed or unknown. Fails also if the pack is available from multiple registries.</p>
<div class="line-block">
<div class="line"><strong>Compilation flags:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">static</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Template:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">install(Pack)</span></code></div>
</div>
<div class="line"><strong>Mode and number of proofs:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">install(+atom)</span></code> - <code class="docutils literal notranslate"><span class="pre">zero_or_one</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Exceptions:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">Pack</span></code> is a variable:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">instantiation_error</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Pack</span></code> is not an atom:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(atom,Pack)</span></code></div>
</div>
</div>
</div>
<hr class="docutils" />
</section>
<section id="update-3">
<span id="packs-0-update-3"></span><span id="index-23"></span><h3><a class="toc-backref" href="#contents" role="doc-backlink"><code class="docutils literal notranslate"><span class="pre">update/3</span></code></a><a class="headerlink" href="#update-3" title="Link to this heading"></a></h3>
<p>Updates an outdated pack to the specified version using the specified options. Fails if the pack or the pack version is unknown or if the pack is not installed. Fails also if the pack is orphaned or pinned and not using a <code class="docutils literal notranslate"><span class="pre">force(true)</span></code> option.</p>
<div class="line-block">
<div class="line"><strong>Compilation flags:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">static</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Template:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">update(Pack,Version,Options)</span></code></div>
</div>
<div class="line"><strong>Mode and number of proofs:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">update(+atom,++callable,++list(callable))</span></code> - <code class="docutils literal notranslate"><span class="pre">zero_or_one</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Exceptions:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">Pack</span></code> is a variable:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">instantiation_error</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Pack</span></code> is neither a variable nor an atom:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(atom,Pack)</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Version</span></code> is a variable:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">instantiation_error</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Version</span></code> is neither a variable nor a valid version:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(pack_version,Version)</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Options</span></code> is a variable:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">instantiation_error</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Options</span></code> is neither a variable nor a list:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(list,Options)</span></code></div>
</div>
<div class="line">An element <code class="docutils literal notranslate"><span class="pre">Option</span></code> of the list <code class="docutils literal notranslate"><span class="pre">Options</span></code> is a variable:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">instantiation_error</span></code></div>
</div>
<div class="line">An element <code class="docutils literal notranslate"><span class="pre">Option</span></code> of the list <code class="docutils literal notranslate"><span class="pre">Options</span></code> is neither a variable nor a compound term:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(compound,Option)</span></code></div>
</div>
<div class="line">An element <code class="docutils literal notranslate"><span class="pre">Option</span></code> of the list <code class="docutils literal notranslate"><span class="pre">Options</span></code> is a compound term but not a valid option:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">domain_error(option,Option)</span></code></div>
</div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Remarks:</strong></div>
</div>
<blockquote>
<div><ul class="simple">
<li><p><code class="docutils literal notranslate"><span class="pre">install(Boolean)</span></code> option: Install pack latest version if not already installed. Default is <code class="docutils literal notranslate"><span class="pre">false</span></code>.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">force(Boolean)</span></code> option: Force update if the pack is pinned or breaks installed packs. Default is <code class="docutils literal notranslate"><span class="pre">false</span></code>.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">compatible(Boolean)</span></code> option: Restrict updating to compatible packs. Default is <code class="docutils literal notranslate"><span class="pre">true</span></code>.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">status(Status)</span></code> option: Specify allowed pack status. Default is <code class="docutils literal notranslate"><span class="pre">[stable,rc,beta,alpha]</span></code>. Set to <code class="docutils literal notranslate"><span class="pre">all</span></code> to also allow <code class="docutils literal notranslate"><span class="pre">experimental</span></code> and <code class="docutils literal notranslate"><span class="pre">deprecated</span></code>.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">clean(Boolean)</span></code> option: Clean pack archive after updating. Default is <code class="docutils literal notranslate"><span class="pre">false</span></code>.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">verbose(Boolean)</span></code> option: Verbose updating steps. Default is <code class="docutils literal notranslate"><span class="pre">false</span></code>.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">checksum(Boolean)</span></code> option: Verify pack archive checksum. Default is <code class="docutils literal notranslate"><span class="pre">true</span></code>.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">checksig(Boolean)</span></code> option: Verify pack archive signature. Default is <code class="docutils literal notranslate"><span class="pre">false</span></code>.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">git(Atom)</span></code> option: Extra command-line options. Default is <code class="docutils literal notranslate"><span class="pre">''</span></code>.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">downloader(Atom)</span></code> option: Downloader utility. Either <code class="docutils literal notranslate"><span class="pre">curl</span></code> or <code class="docutils literal notranslate"><span class="pre">wget</span></code>. Default is <code class="docutils literal notranslate"><span class="pre">curl</span></code>.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">curl(Atom)</span></code> option: Extra command-line options. Default is <code class="docutils literal notranslate"><span class="pre">''</span></code>.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">wget(Atom)</span></code> option: Extra command-line options. Default is <code class="docutils literal notranslate"><span class="pre">''</span></code>.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">gpg(Atom)</span></code> option: Extra command-line options. Default is <code class="docutils literal notranslate"><span class="pre">''</span></code>.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">tar(Atom)</span></code> option: Extra command-line options. Default is <code class="docutils literal notranslate"><span class="pre">''</span></code>.</p></li>
</ul>
</div></blockquote>
<hr class="docutils" />
</section>
<section id="update-2">
<span id="packs-0-update-2"></span><span id="index-24"></span><h3><a class="toc-backref" href="#contents" role="doc-backlink"><code class="docutils literal notranslate"><span class="pre">update/2</span></code></a><a class="headerlink" href="#update-2" title="Link to this heading"></a></h3>
<p>Updates an outdated pack to its latest version using the specified options. Fails if the pack is orphaned, unknown, or not installed. Fails also if the pack is pinned and not using a <code class="docutils literal notranslate"><span class="pre">force(true)</span></code> option.</p>
<div class="line-block">
<div class="line"><strong>Compilation flags:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">static</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Template:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">update(Pack,Options)</span></code></div>
</div>
<div class="line"><strong>Mode and number of proofs:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">update(+atom,++list(callable))</span></code> - <code class="docutils literal notranslate"><span class="pre">zero_or_one</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Exceptions:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">Pack</span></code> is a variable:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">instantiation_error</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Pack</span></code> is neither a variable nor an atom:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(atom,Pack)</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Options</span></code> is a variable:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">instantiation_error</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Options</span></code> is neither a variable nor a list:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(list,Options)</span></code></div>
</div>
<div class="line">An element <code class="docutils literal notranslate"><span class="pre">Option</span></code> of the list <code class="docutils literal notranslate"><span class="pre">Options</span></code> is a variable:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">instantiation_error</span></code></div>
</div>
<div class="line">An element <code class="docutils literal notranslate"><span class="pre">Option</span></code> of the list <code class="docutils literal notranslate"><span class="pre">Options</span></code> is neither a variable nor a compound term:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(compound,Option)</span></code></div>
</div>
<div class="line">An element <code class="docutils literal notranslate"><span class="pre">Option</span></code> of the list <code class="docutils literal notranslate"><span class="pre">Options</span></code> is a compound term but not a valid option:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">domain_error(option,Option)</span></code></div>
</div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Remarks:</strong></div>
</div>
<blockquote>
<div><ul class="simple">
<li><p><code class="docutils literal notranslate"><span class="pre">install(Boolean)</span></code> option: Install pack latest version if not already installed. Default is <code class="docutils literal notranslate"><span class="pre">false</span></code>.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">force(Boolean)</span></code> option: Force update if the pack is pinned or breaks installed packs. Default is <code class="docutils literal notranslate"><span class="pre">false</span></code>.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">compatible(Boolean)</span></code> option: Restrict updating to compatible packs. Default is <code class="docutils literal notranslate"><span class="pre">true</span></code>.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">status(Status)</span></code> option: Specify allowed pack update status. Default is <code class="docutils literal notranslate"><span class="pre">[stable,rc,beta,alpha]</span></code>. Set to <code class="docutils literal notranslate"><span class="pre">all</span></code> to also allow <code class="docutils literal notranslate"><span class="pre">experimental</span></code> and <code class="docutils literal notranslate"><span class="pre">deprecated</span></code>.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">clean(Boolean)</span></code> option: Clean pack archive after updating. Default is <code class="docutils literal notranslate"><span class="pre">false</span></code>.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">verbose(Boolean)</span></code> option: Verbose updating steps. Default is <code class="docutils literal notranslate"><span class="pre">false</span></code>.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">checksum(Boolean)</span></code> option: Verify pack archive checksum. Default is <code class="docutils literal notranslate"><span class="pre">true</span></code>.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">checksig(Boolean)</span></code> option: Verify pack archive signature. Default is <code class="docutils literal notranslate"><span class="pre">false</span></code>.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">git(Atom)</span></code> option: Extra command-line options. Default is <code class="docutils literal notranslate"><span class="pre">''</span></code>.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">downloader(Atom)</span></code> option: Downloader utility. Either <code class="docutils literal notranslate"><span class="pre">curl</span></code> or <code class="docutils literal notranslate"><span class="pre">wget</span></code>. Default is <code class="docutils literal notranslate"><span class="pre">curl</span></code>.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">curl(Atom)</span></code> option: Extra command-line options. Default is <code class="docutils literal notranslate"><span class="pre">''</span></code>.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">wget(Atom)</span></code> option: Extra command-line options. Default is <code class="docutils literal notranslate"><span class="pre">''</span></code>.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">gpg(Atom)</span></code> option: Extra command-line options. Default is <code class="docutils literal notranslate"><span class="pre">''</span></code>.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">tar(Atom)</span></code> option: Extra command-line options. Default is <code class="docutils literal notranslate"><span class="pre">''</span></code>.</p></li>
</ul>
</div></blockquote>
<hr class="docutils" />
</section>
<section id="update-1">
<span id="packs-0-update-1"></span><span id="index-25"></span><h3><a class="toc-backref" href="#contents" role="doc-backlink"><code class="docutils literal notranslate"><span class="pre">update/1</span></code></a><a class="headerlink" href="#update-1" title="Link to this heading"></a></h3>
<p>Updates an outdated pack to its latest version using default options. Fails if the pack is pinned, orphaned, not installed, unknown, or breaks installed packs.</p>
<div class="line-block">
<div class="line"><strong>Compilation flags:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">static</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Template:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">update(Pack)</span></code></div>
</div>
<div class="line"><strong>Mode and number of proofs:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">update(+atom)</span></code> - <code class="docutils literal notranslate"><span class="pre">zero_or_one</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Exceptions:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">Pack</span></code> is a variable:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">instantiation_error</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Pack</span></code> is neither a variable nor an atom:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(atom,Pack)</span></code></div>
</div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>See also:</strong></div>
<div class="line-block">
<div class="line"><a class="reference internal" href="#packs-0-update-2"><span class="std std-ref">update/2</span></a></div>
<div class="line"><a class="reference internal" href="#packs-0-update-3"><span class="std std-ref">update/3</span></a></div>
</div>
</div>
<hr class="docutils" />
</section>
<section id="update-0">
<span id="packs-0-update-0"></span><span id="index-26"></span><h3><a class="toc-backref" href="#contents" role="doc-backlink"><code class="docutils literal notranslate"><span class="pre">update/0</span></code></a><a class="headerlink" href="#update-0" title="Link to this heading"></a></h3>
<p>Updates all outdated packs (that are not pinned) using default options.</p>
<div class="line-block">
<div class="line"><strong>Compilation flags:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">static</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Mode and number of proofs:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">update</span></code> - <code class="docutils literal notranslate"><span class="pre">zero_or_one</span></code></div>
</div>
</div>
<hr class="docutils" />
</section>
<section id="uninstall-2">
<span id="packs-0-uninstall-2"></span><span id="index-27"></span><h3><a class="toc-backref" href="#contents" role="doc-backlink"><code class="docutils literal notranslate"><span class="pre">uninstall/2</span></code></a><a class="headerlink" href="#uninstall-2" title="Link to this heading"></a></h3>
<p>Uninstalls a pack using the specified options. Fails if the pack is unknown or not installed. Fails also if the pack is pinned or have dependents and not using a <code class="docutils literal notranslate"><span class="pre">force(true)</span></code> option.</p>
<div class="line-block">
<div class="line"><strong>Compilation flags:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">static</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Template:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">uninstall(Pack,Options)</span></code></div>
</div>
<div class="line"><strong>Mode and number of proofs:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">uninstall(+atom,++list(compound))</span></code> - <code class="docutils literal notranslate"><span class="pre">zero_or_one</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Exceptions:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">Pack</span></code> is a variable:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">instantiation_error</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Pack</span></code> is neither a variable nor an atom:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(atom,Pack)</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Options</span></code> is a variable:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">instantiation_error</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Options</span></code> is neither a variable nor a list:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(list,Options)</span></code></div>
</div>
<div class="line">An element <code class="docutils literal notranslate"><span class="pre">Option</span></code> of the list <code class="docutils literal notranslate"><span class="pre">Options</span></code> is a variable:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">instantiation_error</span></code></div>
</div>
<div class="line">An element <code class="docutils literal notranslate"><span class="pre">Option</span></code> of the list <code class="docutils literal notranslate"><span class="pre">Options</span></code> is neither a variable nor a compound term:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(compound,Option)</span></code></div>
</div>
<div class="line">An element <code class="docutils literal notranslate"><span class="pre">Option</span></code> of the list <code class="docutils literal notranslate"><span class="pre">Options</span></code> is a compound term but not a valid option:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">domain_error(option,Option)</span></code></div>
</div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Remarks:</strong></div>
</div>
<blockquote>
<div><ul class="simple">
<li><p><code class="docutils literal notranslate"><span class="pre">force(Boolean)</span></code> option: Force deletion if the pack is pinned. Default is <code class="docutils literal notranslate"><span class="pre">false</span></code>.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">clean(Boolean)</span></code> option: Clean pack archive after deleting. Default is <code class="docutils literal notranslate"><span class="pre">false</span></code>.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">verbose(Boolean)</span></code> option: Verbose uninstalling steps. Default is <code class="docutils literal notranslate"><span class="pre">false</span></code>.</p></li>
</ul>
</div></blockquote>
<hr class="docutils" />
</section>
<section id="uninstall-1">
<span id="packs-0-uninstall-1"></span><span id="index-28"></span><h3><a class="toc-backref" href="#contents" role="doc-backlink"><code class="docutils literal notranslate"><span class="pre">uninstall/1</span></code></a><a class="headerlink" href="#uninstall-1" title="Link to this heading"></a></h3>
<p>Uninstalls a pack using default options. Fails if the pack is pinned, have dependents, not installed, or unknown.</p>
<div class="line-block">
<div class="line"><strong>Compilation flags:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">static</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Template:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">uninstall(Pack)</span></code></div>
</div>
<div class="line"><strong>Mode and number of proofs:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">uninstall(+atom)</span></code> - <code class="docutils literal notranslate"><span class="pre">zero_or_one</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Exceptions:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">Pack</span></code> is a variable:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">instantiation_error</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Pack</span></code> is neither a variable nor an atom:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(atom,Pack)</span></code></div>
</div>
</div>
</div>
<hr class="docutils" />
</section>
<section id="uninstall-0">
<span id="packs-0-uninstall-0"></span><span id="index-29"></span><h3><a class="toc-backref" href="#contents" role="doc-backlink"><code class="docutils literal notranslate"><span class="pre">uninstall/0</span></code></a><a class="headerlink" href="#uninstall-0" title="Link to this heading"></a></h3>
<p>Uninstalls all packs using the <code class="docutils literal notranslate"><span class="pre">force(true)</span></code> option.</p>
<div class="line-block">
<div class="line"><strong>Compilation flags:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">static</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Mode and number of proofs:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">uninstall</span></code> - <code class="docutils literal notranslate"><span class="pre">zero_or_one</span></code></div>
</div>
</div>
<hr class="docutils" />
</section>
<section id="clean-2">
<span id="packs-0-clean-2"></span><span id="index-30"></span><h3><a class="toc-backref" href="#contents" role="doc-backlink"><code class="docutils literal notranslate"><span class="pre">clean/2</span></code></a><a class="headerlink" href="#clean-2" title="Link to this heading"></a></h3>
<p>Cleans all pack archives. Fails if the the pack is unknown.</p>
<div class="line-block">
<div class="line"><strong>Compilation flags:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">static</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Template:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">clean(Registry,Pack)</span></code></div>
</div>
<div class="line"><strong>Mode and number of proofs:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">clean(+atom,+atom)</span></code> - <code class="docutils literal notranslate"><span class="pre">zero_or_one</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Exceptions:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">Registry</span></code> is a variable:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">instantiation_error</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Registry</span></code> is neither a variable nor an atom:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(atom,Registry)</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Pack</span></code> is a variable:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">instantiation_error</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Pack</span></code> is neither a variable nor an atom:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(atom,Pack)</span></code></div>
</div>
</div>
</div>
<hr class="docutils" />
</section>
<section id="clean-1">
<span id="packs-0-clean-1"></span><span id="index-31"></span><h3><a class="toc-backref" href="#contents" role="doc-backlink"><code class="docutils literal notranslate"><span class="pre">clean/1</span></code></a><a class="headerlink" href="#clean-1" title="Link to this heading"></a></h3>
<p>Cleans all pack archives. Fails if the pack is unknown.</p>
<div class="line-block">
<div class="line"><strong>Compilation flags:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">static</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Template:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">clean(Pack)</span></code></div>
</div>
<div class="line"><strong>Mode and number of proofs:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">clean(+atom)</span></code> - <code class="docutils literal notranslate"><span class="pre">zero_or_one</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Exceptions:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">Pack</span></code> is a variable:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">instantiation_error</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Pack</span></code> is neither a variable nor an atom:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(atom,Pack)</span></code></div>
</div>
</div>
</div>
<hr class="docutils" />
</section>
<section id="clean-0">
<span id="packs-0-clean-0"></span><span id="index-32"></span><h3><a class="toc-backref" href="#contents" role="doc-backlink"><code class="docutils literal notranslate"><span class="pre">clean/0</span></code></a><a class="headerlink" href="#clean-0" title="Link to this heading"></a></h3>
<p>Cleans all archives for all packs.</p>
<div class="line-block">
<div class="line"><strong>Compilation flags:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">static</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Mode and number of proofs:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">clean</span></code> - <code class="docutils literal notranslate"><span class="pre">one</span></code></div>
</div>
</div>
<hr class="docutils" />
</section>
<section id="save-2">
<span id="packs-0-save-2"></span><span id="index-33"></span><h3><a class="toc-backref" href="#contents" role="doc-backlink"><code class="docutils literal notranslate"><span class="pre">save/2</span></code></a><a class="headerlink" href="#save-2" title="Link to this heading"></a></h3>
<p>Saves a list of all installed packs and registries plus pinning status to a file using the given options. Registries without installed packs are saved when using the option <code class="docutils literal notranslate"><span class="pre">save(all)</span></code> and skipped when using the option <code class="docutils literal notranslate"><span class="pre">save(installed)</span></code> (default).</p>
<div class="line-block">
<div class="line"><strong>Compilation flags:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">static</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Template:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">save(File,Options)</span></code></div>
</div>
<div class="line"><strong>Mode and number of proofs:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">save(+atom,++list(compound))</span></code> - <code class="docutils literal notranslate"><span class="pre">one_or_error</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Exceptions:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">File</span></code> is a variable:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">instantiation_error</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">File</span></code> is neither a variable nor an atom:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(atom,File)</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">File</span></code> is an existing file but cannot be written:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">permission_error(open,source_sink,File)</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Options</span></code> is a variable:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">instantiation_error</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Options</span></code> is neither a variable nor a list:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(list,Options)</span></code></div>
</div>
<div class="line">An element <code class="docutils literal notranslate"><span class="pre">Option</span></code> of the list <code class="docutils literal notranslate"><span class="pre">Options</span></code> is a variable:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">instantiation_error</span></code></div>
</div>
<div class="line">An element <code class="docutils literal notranslate"><span class="pre">Option</span></code> of the list <code class="docutils literal notranslate"><span class="pre">Options</span></code> is neither a variable nor a compound term:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(compound,Option)</span></code></div>
</div>
<div class="line">An element <code class="docutils literal notranslate"><span class="pre">Option</span></code> of the list <code class="docutils literal notranslate"><span class="pre">Options</span></code> is a compound term but not a valid option:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">domain_error(option,Option)</span></code></div>
</div>
</div>
</div>
<hr class="docutils" />
</section>
<section id="save-1">
<span id="packs-0-save-1"></span><span id="index-34"></span><h3><a class="toc-backref" href="#contents" role="doc-backlink"><code class="docutils literal notranslate"><span class="pre">save/1</span></code></a><a class="headerlink" href="#save-1" title="Link to this heading"></a></h3>
<p>Saves a list of all installed packs and their registries plus pinning status to a file using default options.</p>
<div class="line-block">
<div class="line"><strong>Compilation flags:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">static</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Template:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">save(File)</span></code></div>
</div>
<div class="line"><strong>Mode and number of proofs:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">save(+atom)</span></code> - <code class="docutils literal notranslate"><span class="pre">one_or_error</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Exceptions:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">File</span></code> is a variable:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">instantiation_error</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">File</span></code> is neither a variable nor an atom:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(atom,File)</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">File</span></code> is an existing file but cannot be written:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">permission_error(open,source_sink,File)</span></code></div>
</div>
</div>
</div>
<hr class="docutils" />
</section>
<section id="restore-2">
<span id="packs-0-restore-2"></span><span id="index-35"></span><h3><a class="toc-backref" href="#contents" role="doc-backlink"><code class="docutils literal notranslate"><span class="pre">restore/2</span></code></a><a class="headerlink" href="#restore-2" title="Link to this heading"></a></h3>
<p>Restores a list of registries and packs plus their pinning status from a file using the given options. Fails if restoring is not possible.</p>
<div class="line-block">
<div class="line"><strong>Compilation flags:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">static</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Template:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">restore(File,Options)</span></code></div>
</div>
<div class="line"><strong>Mode and number of proofs:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">restore(+atom,++list(compound))</span></code> - <code class="docutils literal notranslate"><span class="pre">zero_or_one_or_error</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Exceptions:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">File</span></code> is a variable:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">instantiation_error</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">File</span></code> is neither a variable nor an atom:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(atom,File)</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">File</span></code> is an atom but not an existing file:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">existence_error(file,File)</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">File</span></code> is an existing file but cannot be read:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">permission_error(open,source_sink,File)</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Options</span></code> is a variable:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">instantiation_error</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Options</span></code> is neither a variable nor a list:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(list,Options)</span></code></div>
</div>
<div class="line">An element <code class="docutils literal notranslate"><span class="pre">Option</span></code> of the list <code class="docutils literal notranslate"><span class="pre">Options</span></code> is a variable:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">instantiation_error</span></code></div>
</div>
<div class="line">An element <code class="docutils literal notranslate"><span class="pre">Option</span></code> of the list <code class="docutils literal notranslate"><span class="pre">Options</span></code> is neither a variable nor a compound term:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(compound,Option)</span></code></div>
</div>
<div class="line">An element <code class="docutils literal notranslate"><span class="pre">Option</span></code> of the list <code class="docutils literal notranslate"><span class="pre">Options</span></code> is a compound term but not a valid option:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">domain_error(option,Option)</span></code></div>
</div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Remarks:</strong></div>
</div>
<blockquote>
<div><ul class="simple">
<li><p><code class="docutils literal notranslate"><span class="pre">force(Boolean)</span></code> option: Force restoring if a registry is already defined or a pack is already installed. Default is <code class="docutils literal notranslate"><span class="pre">true</span></code>.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">compatible(Boolean)</span></code> option: Restrict installation to compatible packs. Default is <code class="docutils literal notranslate"><span class="pre">true</span></code>.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">clean(Boolean)</span></code> option: Clean registry and pack archives after restoring. Default is <code class="docutils literal notranslate"><span class="pre">false</span></code>.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">verbose(Boolean)</span></code> option: Verbose restoring steps. Default is <code class="docutils literal notranslate"><span class="pre">false</span></code>.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">checksum(Boolean)</span></code> option: Verify pack archive checksums. Default is <code class="docutils literal notranslate"><span class="pre">true</span></code>.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">checksig(Boolean)</span></code> option: Verify pack archive signatures. Default is <code class="docutils literal notranslate"><span class="pre">false</span></code>.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">git(Atom)</span></code> option: Extra command-line options. Default is <code class="docutils literal notranslate"><span class="pre">''</span></code>.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">downloader(Atom)</span></code> option: Downloader utility. Either <code class="docutils literal notranslate"><span class="pre">curl</span></code> or <code class="docutils literal notranslate"><span class="pre">wget</span></code>. Default is <code class="docutils literal notranslate"><span class="pre">curl</span></code>.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">curl(Atom)</span></code> option: Extra command-line options. Default is <code class="docutils literal notranslate"><span class="pre">''</span></code>.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">wget(Atom)</span></code> option: Extra command-line options. Default is <code class="docutils literal notranslate"><span class="pre">''</span></code>.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">gpg(Atom)</span></code> option: Extra command-line options. Default is <code class="docutils literal notranslate"><span class="pre">''</span></code>.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">tar(Atom)</span></code> option: Extra command-line options. Default is <code class="docutils literal notranslate"><span class="pre">''</span></code>.</p></li>
</ul>
</div></blockquote>
<hr class="docutils" />
</section>
<section id="restore-1">
<span id="packs-0-restore-1"></span><span id="index-36"></span><h3><a class="toc-backref" href="#contents" role="doc-backlink"><code class="docutils literal notranslate"><span class="pre">restore/1</span></code></a><a class="headerlink" href="#restore-1" title="Link to this heading"></a></h3>
<p>Restores a list of registries and packs plus their pinning status from a file using default options. Fails if restoring is not possible.</p>
<div class="line-block">
<div class="line"><strong>Compilation flags:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">static</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Template:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">restore(File)</span></code></div>
</div>
<div class="line"><strong>Mode and number of proofs:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">restore(+atom)</span></code> - <code class="docutils literal notranslate"><span class="pre">zero_or_one_or_error</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Exceptions:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">File</span></code> is a variable:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">instantiation_error</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">File</span></code> is neither a variable nor an atom:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(atom,File)</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">File</span></code> is an atom but not an existing file:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">existence_error(file,File)</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">File</span></code> is an existing file but cannot be read:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">permission_error(open,source_sink,File)</span></code></div>
</div>
</div>
</div>
<hr class="docutils" />
</section>
<section id="dependents-3">
<span id="packs-0-dependents-3"></span><span id="index-37"></span><h3><a class="toc-backref" href="#contents" role="doc-backlink"><code class="docutils literal notranslate"><span class="pre">dependents/3</span></code></a><a class="headerlink" href="#dependents-3" title="Link to this heading"></a></h3>
<p>Returns a list of all installed packs that depend on the given pack from the given registry. Fails if the pack is unknown.</p>
<div class="line-block">
<div class="line"><strong>Compilation flags:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">static</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Template:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">dependents(Registry,Pack,Dependents)</span></code></div>
</div>
<div class="line"><strong>Mode and number of proofs:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">dependents(+atom,+atom,-list(atom))</span></code> - <code class="docutils literal notranslate"><span class="pre">zero_or_one</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Exceptions:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">Registry</span></code> is a variable:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">instantiation_error</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Registry</span></code> is neither a variable nor an atom:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(atom,Registry)</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Pack</span></code> is a variable:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">instantiation_error</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Pack</span></code> is neither a variable nor an atom:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(atom,Pack)</span></code></div>
</div>
</div>
</div>
<hr class="docutils" />
</section>
<section id="dependents-2">
<span id="packs-0-dependents-2"></span><span id="index-38"></span><h3><a class="toc-backref" href="#contents" role="doc-backlink"><code class="docutils literal notranslate"><span class="pre">dependents/2</span></code></a><a class="headerlink" href="#dependents-2" title="Link to this heading"></a></h3>
<p>Prints a list of all installed packs that depend on the given pack from the given registry. Fails if the pack is unknown.</p>
<div class="line-block">
<div class="line"><strong>Compilation flags:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">static</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Template:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">dependents(Registry,Pack)</span></code></div>
</div>
<div class="line"><strong>Mode and number of proofs:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">dependents(+atom,+atom)</span></code> - <code class="docutils literal notranslate"><span class="pre">zero_or_one</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Exceptions:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">Registry</span></code> is a variable:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">instantiation_error</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Registry</span></code> is neither a variable nor an atom:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(atom,Registry)</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Pack</span></code> is a variable:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">instantiation_error</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Pack</span></code> is neither a variable nor an atom:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(atom,Pack)</span></code></div>
</div>
</div>
</div>
<hr class="docutils" />
</section>
<section id="dependents-1">
<span id="packs-0-dependents-1"></span><span id="index-39"></span><h3><a class="toc-backref" href="#contents" role="doc-backlink"><code class="docutils literal notranslate"><span class="pre">dependents/1</span></code></a><a class="headerlink" href="#dependents-1" title="Link to this heading"></a></h3>
<p>Prints a list of all installed packs that depend on the given pack if unique from all defined registries. Fails if the pack is unknown or available from multiple registries.</p>
<div class="line-block">
<div class="line"><strong>Compilation flags:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">static</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Template:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">dependents(Pack)</span></code></div>
</div>
<div class="line"><strong>Mode and number of proofs:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">dependents(+atom)</span></code> - <code class="docutils literal notranslate"><span class="pre">zero_or_one</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Exceptions:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">Pack</span></code> is a variable:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">instantiation_error</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Pack</span></code> is neither a variable nor an atom:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(atom,Pack)</span></code></div>
</div>
</div>
</div>
<hr class="docutils" />
</section>
<section id="lint-2">
<span id="packs-0-lint-2"></span><span id="index-40"></span><h3><a class="toc-backref" href="#contents" role="doc-backlink"><code class="docutils literal notranslate"><span class="pre">lint/2</span></code></a><a class="headerlink" href="#lint-2" title="Link to this heading"></a></h3>
<p>Checks the pack specification. Fails if the pack is unknown or if linting detects errors.</p>
<div class="line-block">
<div class="line"><strong>Compilation flags:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">static</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Template:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">lint(Registry,Pack)</span></code></div>
</div>
<div class="line"><strong>Mode and number of proofs:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">lint(+atom,+atom)</span></code> - <code class="docutils literal notranslate"><span class="pre">zero_or_one</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Exceptions:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">Registry</span></code> is a variable:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">instantiation_error</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Registry</span></code> is neither a variable nor an atom:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(atom,Registry)</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Pack</span></code> is a variable:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">instantiation_error</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Pack</span></code> is neither a variable nor an atom:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(atom,Pack)</span></code></div>
</div>
</div>
</div>
<hr class="docutils" />
</section>
<section id="lint-1">
<span id="packs-0-lint-1"></span><span id="index-41"></span><h3><a class="toc-backref" href="#contents" role="doc-backlink"><code class="docutils literal notranslate"><span class="pre">lint/1</span></code></a><a class="headerlink" href="#lint-1" title="Link to this heading"></a></h3>
<p>Checks the pack specification. Fails if the pack is unknown, or available from multiple registries, or if linting detects errors.</p>
<div class="line-block">
<div class="line"><strong>Compilation flags:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">static</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Template:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">lint(Pack)</span></code></div>
</div>
<div class="line"><strong>Mode and number of proofs:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">lint(+atom)</span></code> - <code class="docutils literal notranslate"><span class="pre">zero_or_one</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Exceptions:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">Pack</span></code> is a variable:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">instantiation_error</span></code></div>
</div>
<div class="line"><code class="docutils literal notranslate"><span class="pre">Pack</span></code> is neither a variable nor an atom:</div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">type_error(atom,Pack)</span></code></div>
</div>
</div>
</div>
<hr class="docutils" />
</section>
<section id="lint-0">
<span id="packs-0-lint-0"></span><span id="index-42"></span><h3><a class="toc-backref" href="#contents" role="doc-backlink"><code class="docutils literal notranslate"><span class="pre">lint/0</span></code></a><a class="headerlink" href="#lint-0" title="Link to this heading"></a></h3>
<p>Checks all pack specifications.</p>
<div class="line-block">
<div class="line"><strong>Compilation flags:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">static</span></code></div>
</div>
</div>
<div class="line-block">
<div class="line"><strong>Mode and number of proofs:</strong></div>
<div class="line-block">
<div class="line"><code class="docutils literal notranslate"><span class="pre">lint</span></code> - <code class="docutils literal notranslate"><span class="pre">one</span></code></div>
</div>
</div>
</section>
</section>
<hr class="docutils" />
<section id="protected-predicates">
<h2><a class="toc-backref" href="#contents" role="doc-backlink">Protected predicates</a><a class="headerlink" href="#protected-predicates" title="Link to this heading"></a></h2>
<p>(no local declarations; see entity ancestors if any)</p>
</section>
<section id="private-predicates">
<h2><a class="toc-backref" href="#contents" role="doc-backlink">Private predicates</a><a class="headerlink" href="#private-predicates" title="Link to this heading"></a></h2>
<p>(no local declarations; see entity ancestors if any)</p>
</section>
<section id="operators">
<h2><a class="toc-backref" href="#contents" role="doc-backlink">Operators</a><a class="headerlink" href="#operators" title="Link to this heading"></a></h2>
<p>(none)</p>
</section>
</section>


           </div>
          </div>
          <footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
        <a href="pack_protocol_0.html" class="btn btn-neutral float-left" title="pack_protocol" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
        <a href="packs_common_0.html" class="btn btn-neutral float-right" title="packs_common" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
    </div>

  <hr/>

  <div role="contentinfo">
    <p>&#169; Copyright 1998-2025, Paulo Moura.</p>
  </div>

  Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
    <a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a>
    provided by <a href="https://readthedocs.org">Read the Docs</a>.
   

</footer>
        </div>
      </div>
    </section>
  </div>
  <script>
      jQuery(function () {
          SphinxRtdTheme.Navigation.enable(true);
      });
  </script> 

</body>
</html>